home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gedit.prerm < prev    next >
Text File  |  2009-10-20  |  711b  |  31 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     remove|upgrade|deconfigure)
  7.         # unregister gedit as a gnome-text-editor in the alternatives system
  8.         update-alternatives --remove gnome-text-editor /usr/bin/gedit || true
  9.     ;;
  10.  
  11.     failed-upgrade)
  12.     ;;
  13.  
  14.     *)
  15.         echo "prerm called with unknown argument \`$1'" >&2
  16.         exit 0
  17.     ;;
  18. esac
  19.  
  20. # Automatically added by dh_gconf
  21. if [ "$1" = remove ] || [ "$1" = upgrade ]; then
  22.     gconf-schemas --unregister gedit-file-browser.schemas gedit.schemas 
  23. fi
  24. # End automatically added section
  25. # Automatically added by dh_pysupport
  26. if which update-python-modules >/dev/null 2>&1; then
  27.     update-python-modules -c  gedit.private
  28. fi
  29. # End automatically added section
  30.  
  31.